package com.wenwei.sharebox.bean;

import java.io.Serializable;
import java.util.List;

/**
 * Created by Administrator on 2017/7/19.
 */
public class UserShareBean implements Serializable{


    /**
     * timestamp : 1500518028908
     * code : 200
     * message : data success
     * path : http://localhost:8080/api/myshare/rent
     * method : GET
     * total : 1
     * total_page : 1
     * now_page : 0
     * page_size : 0
     * per_total : 1
     * data : [{"id":1,"orderNumber":"20170720014143","userId":1,"shopId":1,"shopName":"小婊砸","payTotal":0,"transactionRecordId":3,"state":1,"status":0,"createdTime":1500486103000,"updatedTime":null,"deletedTime":null}]
     */

    private long timestamp;
    private int code;
    private String message;
    private String path;
    private String method;
    private int total;
    private int total_page;
    private int now_page;
    private int page_size;
    private int per_total;
    private List<DataBean> data;

    public long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(long timestamp) {
        this.timestamp = timestamp;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public String getMethod() {
        return method;
    }

    public void setMethod(String method) {
        this.method = method;
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public int getTotal_page() {
        return total_page;
    }

    public void setTotal_page(int total_page) {
        this.total_page = total_page;
    }

    public int getNow_page() {
        return now_page;
    }

    public void setNow_page(int now_page) {
        this.now_page = now_page;
    }

    public int getPage_size() {
        return page_size;
    }

    public void setPage_size(int page_size) {
        this.page_size = page_size;
    }

    public int getPer_total() {
        return per_total;
    }

    public void setPer_total(int per_total) {
        this.per_total = per_total;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean implements Serializable{
        /**
         * id : 1
         * orderNumber : 20170720014143
         * userId : 1
         * shopId : 1
         * shopName : 小婊砸
         * payTotal : 0
         * transactionRecordId : 3
         * state : 1
         * status : 0
         * createdTime : 1500486103000
         * updatedTime : null
         * deletedTime : null
         */

        private int id;
        private String orderNumber;
        private int userId;
        private int shopId;
        private String shopName;
        private String shopImg;
        private String addressName;
        private float payTotal;
        private int transactionRecordId;
        private int state;
        private int status;
        private long createdTime;
        private Object updatedTime;
        private Object deletedTime;

        public String getAddressName() {
            return addressName;
        }

        public void setAddressName(String addressName) {
            this.addressName = addressName;
        }

        public String getShopImg() {
            return shopImg;
        }

        public void setShopImg(String shopImg) {
            this.shopImg = shopImg;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getOrderNumber() {
            return orderNumber;
        }

        public void setOrderNumber(String orderNumber) {
            this.orderNumber = orderNumber;
        }

        public int getUserId() {
            return userId;
        }

        public void setUserId(int userId) {
            this.userId = userId;
        }

        public int getShopId() {
            return shopId;
        }

        public void setShopId(int shopId) {
            this.shopId = shopId;
        }

        public String getShopName() {
            return shopName;
        }

        public void setShopName(String shopName) {
            this.shopName = shopName;
        }

        public float getPayTotal() {
            return payTotal;
        }

        public void setPayTotal(float payTotal) {
            this.payTotal = payTotal;
        }

        public int getTransactionRecordId() {
            return transactionRecordId;
        }

        public void setTransactionRecordId(int transactionRecordId) {
            this.transactionRecordId = transactionRecordId;
        }

        public int getState() {
            return state;
        }

        public void setState(int state) {
            this.state = state;
        }

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        public long getCreatedTime() {
            return createdTime;
        }

        public void setCreatedTime(long createdTime) {
            this.createdTime = createdTime;
        }

        public Object getUpdatedTime() {
            return updatedTime;
        }

        public void setUpdatedTime(Object updatedTime) {
            this.updatedTime = updatedTime;
        }

        public Object getDeletedTime() {
            return deletedTime;
        }

        public void setDeletedTime(Object deletedTime) {
            this.deletedTime = deletedTime;
        }
    }
}
